Create a complex neural network